package singleton;/** * Created by Administrator on 2018-10-23. * 急切创建实例，而不用延迟实例化的做法 */public class Singleton1 {    private  static Singleton1 uniqueInstance = new Singleton1();    private Singleton1(){}    public static Singleton1 getInstance(){        return uniqueInstance;    }}